package com.paas.form.entity;

import com.paas.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_api_log")
@ApiModel(value="FormApiLog对象", description="")
public class FormApiLogEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键id")
	@TableId
	private String id;

	@ApiModelProperty(value = "接口类型")
	@TableField("type")
	private String type;

	@ApiModelProperty(value = "名称")
	@TableField("api_name")
	private String apiName;

	@ApiModelProperty(value = "调用状态  1:调用成功   0:调用失败")
	@TableField("call_status")
	private String callStatus;

	@ApiModelProperty(value = "开始时间")
	@TableField("start_time")
	private Date startTime;

	@ApiModelProperty(value = "结束时间")
	@TableField("end_time")
	private Date endTime;

	@ApiModelProperty(value = "消耗总耗时")
	@TableField("total_time")
	private String totalTime;

	@ApiModelProperty(value = "错误信息")
	@TableField("error")
	private String error;

	@ApiModelProperty(value = "调用账号")
	@TableField("auth_account")
	private String authAccount;

	@ApiModelProperty(value = "数据状态")
	@TableField("status")
	private String status;

	@ApiModelProperty(value = "视图id")
	@TableField("view_id")
	private String viewId;

}